<template>
  <div>
    <h1>我是登录页 请登录</h1>
    <hr>
    <button @click="login('teken001')">点击登录1</button>
    <hr>
    <button @click="login('0')">点击登录0</button>
  </div>
</template>
<script>
export default {
  methods: {
    login(type) {
      this.$router.push({
        name: "home",
        query: {
          teken: type
        }
      });
    }
  }
};
</script>
